package com.yxq.mdt.app.modules.socialcontact.adapter;


import androidx.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.yxq.mdt.app.R;
import com.yxq.mdt.app.glide.GlideHelper;
import com.yxq.mdt.app.modules.socialcontact.bean.MainSocialContactRecommendBean;
import com.yxq.mdt.app.modules.socialcontact.bean.SubscribersListBean;

import java.util.List;

public class SocialStateContactAttentionAdapter extends BaseQuickAdapter<SubscribersListBean.ListBean.FileListBean, BaseViewHolder> {
    public SocialStateContactAttentionAdapter(int layoutResId, @Nullable List<SubscribersListBean.ListBean.FileListBean> data) {
        super(layoutResId, data);
    }


    @Override
    protected void convert(BaseViewHolder helper, SubscribersListBean.ListBean.FileListBean item) {
        GlideHelper.setLoadImage(mContext, item.getFile(), R.mipmap.head_icon, helper.getView(R.id.panic_tv_count_img));
    }
}
